package logic.ui.componentInfoMed
{
	import common.manager.GUI;
	
	import component.show.control.UISprite;
	import component.untils.ComponentItem;
	
	import fl.controls.List;
	
	import logic.def.UIURL;

	public class ListInfoMed extends UISprite
	{
		public static const NAME : String = "List";
		
		private var m_target:List;
		private var m_tarComItem : ComponentItem;
		
		public function ListInfoMed()
		{
			super(NAME,UIURL["List"]);
			
			GUI.add(NAME,this);
			GUI.setAlgin(NAME,GUI.ALIGN_RIGHT,GUI.ALIGN_TOP);
		}
		
		public function get target() : ComponentItem
		{
			return m_tarComItem;
		}
		
		public function set target(value : ComponentItem) : void
		{
			m_target = value.item;
			m_tarComItem = value;
		}
	}
}